package com.cxf.dao;

import com.cxf.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderDao {
	int insertOrder(Order order);//插入订单
	List<Order> getOrderByUserName(String userName);
	Order getOrderById(@Param("id") Integer id);
	void updateOrder(@Param("order") Order order);
}
